]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
6 years agolookingGlass: Handle undefined in objectToString()
Florian Müllner [Wed, 19 Feb 2020 00:43:23 +0000 (01:43 +0100)]
lookingGlass: Handle undefined in objectToString()

Fallout from commit 9d941f8202: Template strings handle undefined
values just fine, the replacement does not. Fix that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1020

6 years agoworkspace: Ensure style of window-chrome titles before requesting width
Jonas Dreßler [Tue, 18 Feb 2020 22:21:52 +0000 (23:21 +0100)]
workspace: Ensure style of window-chrome titles before requesting width

Make sure the stylesheet properties of the window-chrome title are
updated before requesting the preferred width of the title to prevent
size changes of the title after we animated the width.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/58

6 years agoUpdate Chinese (Taiwan) translation
Chao-Hsiung Liao [Wed, 19 Feb 2020 06:37:20 +0000 (06:37 +0000)]
Update Chinese (Taiwan) translation

6 years agouserWidget: Always set actor size inside update()
Jonas Dreßler [Sun, 16 Feb 2020 22:16:52 +0000 (23:16 +0100)]
userWidget: Always set actor size inside update()

We also want to ensure the Avatar StBin is sized correctly when an icon
child is used, so always set the actor size inside the `update()`
function.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1018

6 years agouserWidget: Simplify icon size setting a bit
Jonas Dreßler [Sun, 16 Feb 2020 22:03:14 +0000 (23:03 +0100)]
userWidget: Simplify icon size setting a bit

Remove the default icon size of -1 and always set the container StBin to
a real size. This fixes an error where the "width" and "height"
properties get set to -2 (which is -1 * scaleFactor) in the `_init`
function.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1018

6 years agoauthPrompt: Fix cancel button visibility
Florian Müllner [Tue, 18 Feb 2020 21:23:26 +0000 (22:23 +0100)]
authPrompt: Fix cancel button visibility

Grrr, this slipped in in 5cad5c20e9f, and we don't have a compiler
to catch those kinds of bugs :-(

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2228

6 years agoUpdate Swedish translation
Anders Jonsson [Tue, 18 Feb 2020 21:02:42 +0000 (21:02 +0000)]
Update Swedish translation

6 years agoUpdate Catalan translation
Jordi Mas [Tue, 18 Feb 2020 19:48:36 +0000 (20:48 +0100)]
Update Catalan translation

6 years agoUpdate Polish translation
Piotr Drąg [Tue, 18 Feb 2020 18:11:08 +0000 (19:11 +0100)]
Update Polish translation

6 years agoUpdate Japanese translation
sicklylife [Tue, 18 Feb 2020 16:52:19 +0000 (16:52 +0000)]
Update Japanese translation

6 years agoUpdate Japanese translation
sicklylife [Tue, 18 Feb 2020 16:50:36 +0000 (16:50 +0000)]
Update Japanese translation

6 years agoUpdate Turkish translation
Sabri Ünal [Tue, 18 Feb 2020 16:18:59 +0000 (16:18 +0000)]
Update Turkish translation

6 years agokeyboard: Plug a leak of KeyboardControllers
Jonas Dreßler [Tue, 18 Feb 2020 14:05:57 +0000 (15:05 +0100)]
keyboard: Plug a leak of KeyboardControllers

To make sure the GC really disposes the KeyboardController object we
need to remove all references to the object, which means we have to
disconnect signals the object connects to, too.

This also fixes a bug where keys remain pressed forever and thus also
break that key on real keyboards. It happens if the OSK gets destroyed
during an OSK-key is being held so the StButton of the key is not
released. That means the key remains pressed in the
MetaVirtualInputDevice that we are now leaking because
KeyboardController isn't garbage collected.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1015

6 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 18 Feb 2020 12:19:54 +0000 (13:19 +0100)]
Updated Spanish translation

6 years agoUpdate Greek translation
Efstathios Iosifidis [Tue, 18 Feb 2020 10:55:34 +0000 (10:55 +0000)]
Update Greek translation

6 years agoUpdate Persian translation
Danial Behzadi [Tue, 18 Feb 2020 07:23:20 +0000 (07:23 +0000)]
Update Persian translation

6 years agoBump version to 3.35.91
Florian Müllner [Mon, 17 Feb 2020 23:10:44 +0000 (00:10 +0100)]
Bump version to 3.35.91

Update NEWS.

6 years agoUpdate Hungarian translation
Balázs Úr [Mon, 17 Feb 2020 23:11:43 +0000 (23:11 +0000)]
Update Hungarian translation

6 years agojs: Don't use templates in files with translations
Florian Müllner [Fri, 14 Feb 2020 15:10:34 +0000 (16:10 +0100)]
js: Don't use templates in files with translations

xgettext gained some support for template strings, and no longer
fails when encountering '/' somewhere between backticks.

Unfortunately its support is still buggy as hell, and it is now
silently dropping translatable strings, yay. I hate making the
code worse, but until xgettext really gets its shit together,
the only viable way forward seems to be to not use template
strings in any files listed in POTFILES.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1014

6 years agoUpdate Hungarian translation
Balázs Úr [Mon, 17 Feb 2020 21:51:47 +0000 (21:51 +0000)]
Update Hungarian translation

6 years agotheme: Remove two unneeded css classes
Jonas Dreßler [Mon, 17 Feb 2020 19:43:05 +0000 (20:43 +0100)]
theme: Remove two unneeded css classes

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1012

6 years agodialogs: Use a smaller font-size if the title width exceeds the space
Jonas Dreßler [Mon, 17 Feb 2020 18:59:31 +0000 (19:59 +0100)]
dialogs: Use a smaller font-size if the title width exceeds the space

Since quite a few strings of dialogs provided by external programs are
not updated yet and the string freeze is already in effect, make sure we
don't break those dialogs by stripping aways large parts of the
headline.

To do that, detect if the title label is larger than the available width
and if it is, switch to a smaller font-size of 13pt. This makes sure we
still show about the same number of characters in the headline as we did
in previous releases.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1012

6 years agoUpdate Galician translation
Fran Dieguez [Mon, 17 Feb 2020 21:00:11 +0000 (21:00 +0000)]
Update Galician translation

6 years agoUpdated Lithuanian translation
Aurimas Černius [Mon, 17 Feb 2020 20:38:40 +0000 (22:38 +0200)]
Updated Lithuanian translation

6 years agoUpdate Serbian translation
Марко Костић [Mon, 17 Feb 2020 20:03:11 +0000 (20:03 +0000)]
Update Serbian translation

6 years agoUpdate French translation
Charles Monzat [Mon, 17 Feb 2020 17:44:38 +0000 (17:44 +0000)]
Update French translation

6 years agoUpdate Polish translation
Piotr Drąg [Mon, 17 Feb 2020 16:23:04 +0000 (17:23 +0100)]
Update Polish translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 17 Feb 2020 13:55:24 +0000 (14:55 +0100)]
Updated Spanish translation

6 years agoscreenShield: Always deactivate when interrupting idle before lock
Florian Müllner [Fri, 14 Feb 2020 21:26:56 +0000 (22:26 +0100)]
screenShield: Always deactivate when interrupting idle before lock

With the old screen shield, we were simply hiding the lightboxes to show
the shield when the user became active after activating the shield but
before locking the screen (that is, when using a lock-delay).

However now that the shield is gone, we end up showing the unlock dialog
even though we are not actually locked.

We probably don't want to add back a shield-like mode (that is, a way to
raise the unlock dialog without authentication when we aren't locked),
so just deactivate the whole shield when the user becomes active again
before the lock kicks in.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2213

6 years agoscreenShield: Reset correct translation
Florian Müllner [Sat, 15 Feb 2020 00:57:06 +0000 (01:57 +0100)]
screenShield: Reset correct translation

When showing the lock dialog without animation, we currently reset the
translation of the wrong actor, leaving the unlock dialog off-screen.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2213

6 years agoauthPrompt: Use the same hint text as the polkitDialog for the password
Jonas Dreßler [Fri, 14 Feb 2020 21:14:25 +0000 (22:14 +0100)]
authPrompt: Use the same hint text as the polkitDialog for the password

Be consistent and show the hint for the password entry that we already
show in the polkitDialog in the auth dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/977

6 years agoUpdate hint texts of all entries
Jonas Dreßler [Fri, 14 Feb 2020 21:11:27 +0000 (22:11 +0100)]
Update hint texts of all entries

The design team discussed the ellipses at the end of the hint text of
our entries and, even though they are present in most mockups, it turned
out they don't like them, so remove them.

It also turned out they don't like the prefixes like "Enter" before it,
so remove those, too.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/977

6 years agonetworkAgent: Update dialog entry descriptions for new design
Jonas Dreßler [Tue, 4 Feb 2020 18:24:43 +0000 (19:24 +0100)]
networkAgent: Update dialog entry descriptions for new design

With the new dialog design the descriptions of entries are now
implemented as hint-text of the StEntry. That means the colon at the end
of the descriptions no longer makes sense and should be removed.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/977

6 years agoUpdate Catalan translation
Jordi Mas [Sat, 15 Feb 2020 17:38:10 +0000 (18:38 +0100)]
Update Catalan translation

6 years agoUpdate Polish translation
Piotr Drąg [Sat, 15 Feb 2020 13:15:47 +0000 (14:15 +0100)]
Update Polish translation

6 years agotheme: submenu separator size
Jakub Steiner [Fri, 14 Feb 2020 18:06:54 +0000 (19:06 +0100)]
theme: submenu separator size

- match width of the submenu separators to the parents

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1004

6 years agopopupMenu: Remove excess padding from separators
Florian Müllner [Fri, 14 Feb 2020 12:36:04 +0000 (13:36 +0100)]
popupMenu: Remove excess padding from separators

Currently separators get all the padding from regular menu items,
which is excessive for non-interactive elements.

Shuffle style classes around a bit to allow overriding the normal
padding for separators.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1004

6 years agounlock: Don't show prompt on shifty key presses
Florian Müllner [Fri, 14 Feb 2020 19:19:37 +0000 (20:19 +0100)]
unlock: Don't show prompt on shifty key presses

Shift, caps-lock and friends change the capitalization of following
key presses. It is unexpected for those keys to have side-effects,
so don't switch to the prompt when they are pressed.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2215

6 years agoauthPrompt: Use placeholder label to avoid layout changes
Florian Müllner [Fri, 14 Feb 2020 20:10:04 +0000 (21:10 +0100)]
authPrompt: Use placeholder label to avoid layout changes

We don't want to show a caps-lock warning when showing a non-password
entry, but we also don't want the layout to jump when changing the
label's visibility.

Achieve that by inserting an empty placeholder label that we can
show whenever the caps-lock warning is hidden.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2215

6 years agoRevert "authPrompt: Don't hide the caps lock warning label"
Florian Müllner [Fri, 14 Feb 2020 19:50:59 +0000 (20:50 +0100)]
Revert "authPrompt: Don't hide the caps lock warning label"

Using the opacity to control the label's visibility doesn't work
correctly, as CapsLockWarning itself changes the opacity when
the caps-lock state changes.

This reverts commit 9f5f6aa9b2c8f5f055a3c3b6ff2270a79c1b5e69.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2215

6 years agoauthPrompt: Hide cancel button on unlock screen
Georges Basile Stavracas Neto [Fri, 14 Feb 2020 16:14:55 +0000 (13:14 -0300)]
authPrompt: Hide cancel button on unlock screen

As per the latest design review, hide the cancel button
on the unlock dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1006

6 years agounlockDialog: Iconize the switch user button
Georges Basile Stavracas Neto [Fri, 14 Feb 2020 15:35:48 +0000 (12:35 -0300)]
unlockDialog: Iconize the switch user button

Make it look exactly the same as the login screen's session
selection button.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1006

6 years agounlockDialog: Move switch user to the main dialog
Georges Basile Stavracas Neto [Fri, 14 Feb 2020 15:29:51 +0000 (12:29 -0300)]
unlockDialog: Move switch user to the main dialog

Right now, it's still a label displayed following the same
layout algorithm of the cog button in the login screen. It'll
become a button later in the patchset.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1006

6 years agoRevert "unlockDialog: Remove 'Login as another user' Label"
Georges Basile Stavracas Neto [Fri, 14 Feb 2020 15:05:23 +0000 (12:05 -0300)]
Revert "unlockDialog: Remove 'Login as another user' Label"

This reverts commit c6a79fafc. The back button doesn't really work
as a replacement for going back to the login screen.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1006

6 years agoUpdate Japanese translation
sicklylife [Fri, 14 Feb 2020 20:28:14 +0000 (20:28 +0000)]
Update Japanese translation

6 years agoUpdate Japanese translation
sicklylife [Fri, 14 Feb 2020 20:20:28 +0000 (20:20 +0000)]
Update Japanese translation

6 years agoUpdate Galician translation
Fran Dieguez [Fri, 14 Feb 2020 20:09:57 +0000 (20:09 +0000)]
Update Galician translation

6 years agotheme: fix submenu separator contrast
Jakub Steiner [Thu, 13 Feb 2020 20:45:02 +0000 (21:45 +0100)]
theme: fix submenu separator contrast

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2203

6 years agotheme: Lock screen notification style tweaks
Jakub Steiner [Thu, 13 Feb 2020 20:13:49 +0000 (21:13 +0100)]
theme: Lock screen notification style tweaks

- use standard border radius for notifications
- negative space pills for counters
- no border, slightly less opaque background allowed
  by the massive blur radius for the wallpaper

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/998

6 years agounlockDialog: Don't explicitly show prompt
Florian Müllner [Fri, 14 Feb 2020 13:51:10 +0000 (14:51 +0100)]
unlockDialog: Don't explicitly show prompt

The promptBox is initially fully opaque, so showing it before the
transition can result in a brief flash before fading in.

Just remove the show() call and let the transition handle the
visibility.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2212

6 years agoUpdate Serbian translation
Марко Костић [Fri, 14 Feb 2020 12:02:49 +0000 (12:02 +0000)]
Update Serbian translation

6 years agoauthPrompt: Keep password entry on reset
Georges Basile Stavracas Neto [Thu, 13 Feb 2020 21:05:38 +0000 (18:05 -0300)]
authPrompt: Keep password entry on reset

Usually, logging in or unlocking the session is made asynchronously,
and AuthPrompt properly manages which entry is currently visible.
External code don't rely on any specific entry to be set, since it
is AuthPrompt's responsibility to select the correct one to be shown.

However, there's one specific case where AuthPrompt must preserve
the password entry: on reset. The reset code preserved whatever
entry was currently displayed, but after fe69dacaf1, it always
changes to the username entry.

Make sure to show the password entry on reset.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/999

6 years agounlockDialog: Only create GDM client once
Georges Basile Stavracas Neto [Thu, 13 Feb 2020 20:36:51 +0000 (17:36 -0300)]
unlockDialog: Only create GDM client once

We don't need to create a new one every time we create an
auth prompt.

Create only one GDM client.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/999

6 years agologinDialog: Hide session menu button when showing the user list
Georges Basile Stavracas Neto [Thu, 13 Feb 2020 15:39:13 +0000 (12:39 -0300)]
loginDialog: Hide session menu button when showing the user list

In the past, the session menu button was part of the auth prompt widgetry,
so we didn't have to manually hide it when showing the user list. However,
now it is part of the login screen itself.

Hide the session menu button when the user list is shown.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/999

6 years agoUpdate Swedish translation
Anders Jonsson [Thu, 13 Feb 2020 20:19:14 +0000 (20:19 +0000)]
Update Swedish translation

6 years agounlockDialog: Only show count for multiple notifications
Florian Müllner [Thu, 13 Feb 2020 18:06:51 +0000 (19:06 +0100)]
unlockDialog: Only show count for multiple notifications

In the common case where we only have a single unread notification
from a particular app, the count doesn't add useful information.
Reduce clutter a bit by only showing the notification count if we
have at least two.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/997

6 years agotheme: revert OSD style to be $variant independent
Jakub Steiner [Fri, 7 Feb 2020 01:17:53 +0000 (02:17 +0100)]
theme: revert OSD style to be $variant independent

- make OSD dark on bth dark and light variants
- make top bar black in both cases (classic has specific panel styling).

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2194

6 years agotheme: Move .workspace-thumbnail* into _workspace-thumbnails.scss
nana-4 [Sun, 19 Jan 2020 17:08:42 +0000 (02:08 +0900)]
theme: Move .workspace-thumbnail* into _workspace-thumbnails.scss

While workspace switcher is an OSD, workspace pager is an overview
panel. So it makes more sense to separate them into different
stylesheets.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/938

6 years agotheme: Move .candidate-popup-boxpointer into _ibus-popup.scss
nana-4 [Tue, 21 Jan 2020 14:36:36 +0000 (23:36 +0900)]
theme: Move .candidate-popup-boxpointer into _ibus-popup.scss

It's used only for ibus popup.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/938

6 years agotheme: Move .headline into _dialogs.scss
nana-4 [Sun, 19 Jan 2020 16:37:14 +0000 (01:37 +0900)]
theme: Move .headline into _dialogs.scss

It's used only in dialogs so far.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/938

6 years agotheme: Move .url-highlighter into _message-list.scss
nana-4 [Sun, 19 Jan 2020 16:24:47 +0000 (01:24 +0900)]
theme: Move .url-highlighter into _message-list.scss

It's used only in messages.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/938

6 years agotheme: Move switcher-related selectors into _switcher-popup.scss
nana-4 [Sun, 19 Jan 2020 16:34:56 +0000 (01:34 +0900)]
theme: Move switcher-related selectors into _switcher-popup.scss

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/938

6 years agotheme: Rename _app-switcher.scss to _switcher-popup.scss
nana-4 [Tue, 21 Jan 2020 12:49:58 +0000 (21:49 +0900)]
theme: Rename _app-switcher.scss to _switcher-popup.scss

Since the main classes in that file are not dedicated to the app
switcher, rename it to something more appropriate.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/938

6 years agotheme: Move accessibility-related selectors into _a11y.scss
nana-4 [Sun, 19 Jan 2020 16:41:44 +0000 (01:41 +0900)]
theme: Move accessibility-related selectors into _a11y.scss

Since we have several accessibility-related selectors, it makes sense
to collect them in one stylesheet.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/938

6 years agotheme: Move basic selectors into _base.scss
nana-4 [Sun, 19 Jan 2020 16:18:06 +0000 (01:18 +0900)]
theme: Move basic selectors into _base.scss

.shell-link, .lowres-icon and .icon-dropshadow could be used globally.

For the icon shadow classes, they're used by officially supported
extensions.[1]

[1] https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/168

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/938

6 years agotheme: Import widget stylesheets in a reasonable order
nana-4 [Sun, 19 Jan 2020 15:25:51 +0000 (00:25 +0900)]
theme: Import widget stylesheets in a reasonable order

Instead of alphabetical ordering, sort the widget stylesheets
from more global to more local while grouping related things.

This helps reduce unintended behaviors and ugly overrides and
make styling and debugging easier.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/938

6 years agoUpdate Turkish translation
Emin Tufan Çetin [Thu, 13 Feb 2020 19:07:53 +0000 (19:07 +0000)]
Update Turkish translation

6 years agoUpdated Danish translation
Ask Hjorth Larsen [Thu, 13 Feb 2020 18:26:55 +0000 (19:26 +0100)]
Updated Danish translation

6 years agoUpdate French translation
Claude Paroz [Thu, 13 Feb 2020 17:34:04 +0000 (17:34 +0000)]
Update French translation

6 years agotheme: default avatar should remain being a pill
Jakub Steiner [Thu, 13 Feb 2020 14:03:30 +0000 (15:03 +0100)]
theme: default avatar should remain being a pill

- force size due to the necessary whitespace/padding being added to the dimensions
- use osd FG color for background as it's $variant independednt

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/996

6 years agounlockDialog: Show unlock hint on inactivity
Florian Müllner [Tue, 11 Feb 2020 18:35:22 +0000 (19:35 +0100)]
unlockDialog: Show unlock hint on inactivity

Inactivity on the unlock screen can be an indication that the user
doesn't know how to get to the auth prompt. Fade in a small hint
that points them in the right direction.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/972

6 years agounlockDialog: Support clock/prompt switching via scrolling
Florian Müllner [Tue, 11 Feb 2020 16:46:11 +0000 (17:46 +0100)]
unlockDialog: Support clock/prompt switching via scrolling

SwipeTracker "only" handles touch gestures and smooth scrolling.
Scrolling still makes sense for regular mice as well though, so
add handling for that as well.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/972

6 years agounlockDialog: Add swipe gesture
Florian Müllner [Sun, 2 Feb 2020 11:23:32 +0000 (12:23 +0100)]
unlockDialog: Add swipe gesture

Clicking or typing to reveal the auth prompt are good options for
mouse/keyboard workflows, but awkward on touch devices. Now that
we have SwipeTracker, adding corresponding gestures support is
easy, so do just that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/972

6 years agounlockDialog: Use adjustment to control the transition
Florian Müllner [Sun, 2 Feb 2020 11:10:10 +0000 (12:10 +0100)]
unlockDialog: Use adjustment to control the transition

Tying the transition parameters to a single progress value represented
by an adjustment will enable us to implement stick-to-content swipe
gestures.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/972

6 years agounlockDialog: Tweak transition animation
Florian Müllner [Sun, 2 Feb 2020 09:43:55 +0000 (10:43 +0100)]
unlockDialog: Tweak transition animation

The current transition between clock and auth prompt uses a simple
crossfade.

"What kind of spatial model is that?!"
                                  T.B.

Root the transition a bit more by adding translation and scale to
the animation.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/972

6 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Thu, 13 Feb 2020 14:10:25 +0000 (14:10 +0000)]
Update Brazilian Portuguese translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 13 Feb 2020 08:43:28 +0000 (09:43 +0100)]
Updated Spanish translation

6 years agoUpdate Persian translation
Danial Behzadi [Thu, 13 Feb 2020 01:13:40 +0000 (01:13 +0000)]
Update Persian translation

6 years agoUpdate Finnish translation
Jiri Grönroos [Wed, 12 Feb 2020 20:34:34 +0000 (20:34 +0000)]
Update Finnish translation

6 years agoauthPrompt: Don't hide the caps lock warning label
Georges Basile Stavracas Neto [Tue, 11 Feb 2020 15:03:07 +0000 (12:03 -0300)]
authPrompt: Don't hide the caps lock warning label

Hiding the Caps lock warning label changes the layout of
Auth Prompt. This is specially noticeable when logging in
with unlisted users, where we change the visibility of this
label after typing a username, and the whole user widget
moves a bit.

Change the Cap lock label's opacity instead of hiding it.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agouserWidget: Add empty label when user is null
Georges Basile Stavracas Neto [Tue, 11 Feb 2020 13:39:22 +0000 (10:39 -0300)]
userWidget: Add empty label when user is null

Currently, when a null user is passed, we don't add any
username label. That makes the layout of user and no-user
cases inconsistent.

Add a ghost label with no opacity to mimic the username
label.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Only spin on password entries
Georges Basile Stavracas Neto [Tue, 11 Feb 2020 13:33:02 +0000 (10:33 -0300)]
authPrompt: Only spin on password entries

Spinning while typing the password is a bit off-putting, and
inconsistent with how regular authentication behaves.

Only spin the spinner after typing the password.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Refactor 'next' signal
Georges Basile Stavracas Neto [Tue, 11 Feb 2020 13:27:36 +0000 (10:27 -0300)]
authPrompt: Refactor 'next' signal

Currently, AuthPrompt is connecting to its own 'next' signal
signal to react to any of the entries being activated, and do
some actions like starting the spinner and answering the PAM
question.

Refactor this code into another method, and don't connect to
our own signal.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agotheme: Increase border-radius of user list items
Georges Basile Stavracas Neto [Mon, 10 Feb 2020 18:33:42 +0000 (15:33 -0300)]
theme: Increase border-radius of user list items

To keep consistency with the radius of other elements.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Remove colons from questions
Georges Basile Stavracas Neto [Mon, 10 Feb 2020 18:15:16 +0000 (15:15 -0300)]
authPrompt: Remove colons from questions

Unfortunately, the question that is displayed comes directly
from PAM. It usually is just "Password:", which comes from
pam-unix, but other questions can be set, usually with the
colons, since they are crafted with a CLI workflow in mind.

Manually drop the colons from questions asked by PAM. This
is also done by the PolKit agent, which shows how the stack
is fragile, but it's what we have for now.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Keep buttonWell and cancel button sizes in sync
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 20:51:18 +0000 (17:51 -0300)]
authPrompt: Keep buttonWell and cancel button sizes in sync

So that the entry is horizontally centralized at all times.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Use text entry for username
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 20:30:36 +0000 (17:30 -0300)]
loginDialog: Use text entry for username

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Connect signals to both text and password entries
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 20:27:20 +0000 (17:27 -0300)]
authPrompt: Connect signals to both text and password entries

This is a regression from the transition to password entry. Both
entries need to be connected to the relevant signals, otherwise
username-based login won't ever work.

Connect both the text and the password entries.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Trivial style cleanup
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 20:20:48 +0000 (17:20 -0300)]
authPrompt: Trivial style cleanup

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Replace colon by ellipsis on username question
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 20:00:02 +0000 (17:00 -0300)]
loginDialog: Replace colon by ellipsis on username question

So it plays better as a hint text.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Use entry to show question texts
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 19:57:53 +0000 (16:57 -0300)]
authPrompt: Use entry to show question texts

Currently, there is a dedicated label above the entry to
display the question text. According to the new mockups
for the lock screen, this label doesn't exist; instead,
the question is set inside the entry itself, as a hint
text.

Set the questions as hint texts of the entry, and remove
the now unused label.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agotheme: Make AuthPrompt messages white
Georges Basile Stavracas Neto [Wed, 5 Feb 2020 19:00:10 +0000 (16:00 -0300)]
theme: Make AuthPrompt messages white

As per design review, it is more important to preserve the
legibility of the labels than their actual warning colors.

Make the login & unlock dialog message labels white.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Center align Caps Lock and authentication messages
Georges Basile Stavracas Neto [Wed, 5 Feb 2020 18:26:44 +0000 (15:26 -0300)]
loginDialog: Center align Caps Lock and authentication messages

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Set null user when asking for username
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 19:24:32 +0000 (16:24 -0300)]
loginDialog: Set null user when asking for username

When going through the username + password login flow, set
the username to 'null' to update the user avatar.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agouserWidget: Adapt if user is not mentioned for username login
Umang Jain [Fri, 17 Jan 2020 06:47:34 +0000 (12:17 +0530)]
userWidget: Adapt if user is not mentioned for username login

If username-based login flow is followed, we need a default avatar
for the userWidget. Hence, check if the user passed to userWidget
is (null) which implies a username-based login flow.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Move and relayout sessionMenuButton to bottom right
Umang Jain [Thu, 16 Jan 2020 06:43:29 +0000 (12:13 +0530)]
loginDialog: Move and relayout sessionMenuButton to bottom right

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Apply CSS to sessionMenuButton according to mockups
Umang Jain [Tue, 28 Jan 2020 17:52:30 +0000 (23:22 +0530)]
loginDialog: Apply CSS to sessionMenuButton according to mockups

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agotheme: Add top padding to unlock-dialog-clock-time
Umang Jain [Tue, 14 Jan 2020 18:27:02 +0000 (23:57 +0530)]
theme: Add top padding to unlock-dialog-clock-time

The (imaginary) center line for clock time of unlock dialog and the
user avatar should be the same. Since the clock font is 64pt, we need
32pt padding (or 42px).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agounlockDialog: Remove 'Login as another user' Label
Umang Jain [Sat, 1 Feb 2020 15:23:59 +0000 (20:53 +0530)]
unlockDialog: Remove 'Login as another user' Label

According to the new mockups, logging in as another user
should be handled by the (<) button present on the lock-screen.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Iconize the cancel button
Umang Jain [Tue, 14 Jan 2020 15:15:48 +0000 (20:45 +0530)]
authPrompt: Iconize the cancel button

Replace the "Cancel" label in the cancel button
by an arrow icon, and adjust the theme to make
it circular.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922